﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace UnfriendlyFire.Models
{
    [MetadataType(typeof(Officer.Metadata))]
    public partial class Officer
    {
        class Metadata
        {
            [Required]
            [DataType(DataType.Text)]
            [DisplayName("First Name")]
            public string FirstName { get; set; }
            
            [Required]
            [DataType(DataType.Text)]
            [DisplayName("Last Name")]
            public string LastName { get; set; }

            [Required]
            [DataType(DataType.ImageUrl)]
            [DisplayName("Photo")]
            public string Photo { get; set; }

            [DisplayName("Experience Points")]
            public int ExperiencePoints { get; set; }
        }
    }
}